/*    */ package eos.moe.dragoncore;
/*    */ 
/*    */ import io.netty.buffer.ByteBuf;
/*    */ import net.minecraft.entity.player.EntityPlayerMP;
/*    */ import net.minecraft.nbt.NBTTagCompound;
/*    */ import net.minecraft.util.math.BlockPos;
/*    */ import net.minecraftforge.fml.common.network.simpleimpl.IMessage;
/*    */ import net.minecraftforge.fml.common.network.simpleimpl.IMessageHandler;
/*    */ import net.minecraftforge.fml.common.network.simpleimpl.MessageContext;
/*    */ import net.minecraftforge.fml.relauncher.Side;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class no
/*    */   implements IMessage
/*    */ {
/*    */   public BlockPos q;
/*    */   public NBTTagCompound g;
/*    */   
/*    */   public no() {}
/*    */   
/*    */   public no(BlockPos blockPos, NBTTagCompound nBTTagCompound) {
/* 35 */     this.q = blockPos;
/* 36 */     this.g = nBTTagCompound;
/*    */   }
/*    */ 
/*    */   
/*    */   public void fromBytes(ByteBuf byteBuf) {
/* 41 */     this.q = BlockPos.func_177969_a(byteBuf.readLong());
/* 42 */     this.g = ur.v(byteBuf);
/*    */   }
/*    */ 
/*    */   
/*    */   public void toBytes(ByteBuf byteBuf) {
/* 47 */     byteBuf.writeLong(this.q.func_177986_g());
/* 48 */     ur.v(this.g, byteBuf);
/*    */   }
/*    */   
/*    */   public static class eos/moe/dragoncore/oz
/*    */     implements IMessageHandler<no, IMessage>
/*    */   {
/*    */     public IMessage onMessage(no no1, MessageContext messageContext) {
/* 55 */       if (messageContext.side == Side.SERVER) {
/* 56 */         EntityPlayerMP entityPlayerMP = (messageContext.getServerHandler()).field_147369_b;
/* 57 */         entityPlayerMP.func_71121_q().func_152344_a(new xo(this, entityPlayerMP, no1));
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */       
/*    */       }
/*    */       else {
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */         
/* 84 */         qz.w.v(no1.q, no1.g);
/*    */       } 
/* 86 */       return null;
/*    */     }
/*    */   }
/*    */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\no.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */